/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "分计划进度-北方",TableName = "material_plan_xie",DBServer = "ServiceDbContext")]
    public partial class material_plan_xie:ServiceEntity
    {
        /// <summary>
       ///计划单号
       /// </summary>
       [Display(Name ="计划单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string schedule_id { get; set; }

       /// <summary>
       ///是否完成
       /// </summary>
       [Display(Name ="是否完成")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string done_no { get; set; }

       /// <summary>
       ///产品代号
       /// </summary>
       [Display(Name ="产品代号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string top_id { get; set; }

       /// <summary>
       ///性能
       /// </summary>
       [Display(Name ="性能")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string grade { get; set; }

       /// <summary>
       ///毛坯尺寸
       /// </summary>
       [Display(Name ="毛坯尺寸")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string schedule_blank_spec { get; set; }

       /// <summary>
       ///模具
       /// </summary>
       [Display(Name ="模具")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string mold_id { get; set; }

       /// <summary>
       ///钢号
       /// </summary>
       [Display(Name ="钢号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string steelgrade_id { get; set; }

       /// <summary>
       ///辅合金名称
       /// </summary>
       [Display(Name ="辅合金名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string mixed_material_name { get; set; }

       /// <summary>
       ///比例
       /// </summary>
       [Display(Name ="比例")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string bate { get; set; }

       /// <summary>
       ///辅合金用量
       /// </summary>
       [Display(Name ="辅合金用量")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       public string mixed_material_weight { get; set; }

       /// <summary>
       ///首批日期
       /// </summary>
       [Display(Name ="首批日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? date_first_batch { get; set; }

       /// <summary>
       ///末批日期
       /// </summary>
       [Display(Name ="末批日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? date_finished { get; set; }

       /// <summary>
       ///计划数量
       /// </summary>
       [Display(Name ="计划数量")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? product_qty { get; set; }

       /// <summary>
       ///产品单重
       /// </summary>
       [Display(Name ="产品单重")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? per_weight { get; set; }

       /// <summary>
       ///订单总重
       /// </summary>
       [Display(Name ="订单总重")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? total_weight { get; set; }

       /// <summary>
       ///设备类型
       /// </summary>
       [Display(Name ="设备类型")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string device_type { get; set; }

       /// <summary>
       ///冶炼已派工
       /// </summary>
       [Display(Name ="冶炼已派工")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Qty_yl { get; set; }

       /// <summary>
       ///冶炼已入库
       /// </summary>
       [Display(Name ="冶炼已入库")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InputQty_yl { get; set; }

       /// <summary>
       ///氢破已派工
       /// </summary>
       [Display(Name ="氢破已派工")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Qty_qp { get; set; }

       /// <summary>
       ///氢破已入库
       /// </summary>
       [Display(Name ="氢破已入库")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InputQty_qp { get; set; }

       /// <summary>
       ///气流磨已派工
       /// </summary>
       [Display(Name ="气流磨已派工")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Qty_qlm { get; set; }

       /// <summary>
       ///气流磨已入库
       /// </summary>
       [Display(Name ="气流磨已入库")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InputQty_qlm { get; set; }

       /// <summary>
       ///压型已派工
       /// </summary>
       [Display(Name ="压型已派工")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Qty_yx { get; set; }

       /// <summary>
       ///压型已入库
       /// </summary>
       [Display(Name ="压型已入库")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InputQty_yx { get; set; }

       /// <summary>
       ///烧结已派工
       /// </summary>
       [Display(Name ="烧结已派工")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Qty_sj { get; set; }

       /// <summary>
       ///烧结已入库
       /// </summary>
       [Display(Name ="烧结已入库")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InputQty_sj { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       public DateTime? update_data { get; set; }

       /// <summary>
       ///键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///是否有效(0:否,1:是)
       /// </summary>
       [Display(Name ="是否有效(0:否,1:是)")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int IsValid { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Remarks { get; set; }

       /// <summary>
       ///创建人ID
       /// </summary>
       [Display(Name ="创建人ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long CreateId { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       
    }
}